An interface representing A2AFailoverProviderInput.
A2A provider specific input for failover.
Optional cloudServiceCreationOption
cloudServiceCreationOption:undefined | string
member
{string} [cloudServiceCreationOption] A value indicating whether
to use recovery cloud service for TFO or not.
instanceType
instanceType:"A2A"
member
{string} instanceType Polymorphic Discriminator
Optional recoveryPointId
recoveryPointId:undefined | string
member
{string} [recoveryPointId] The recovery point id to be passed to
failover to a particular recovery point. In case of latest recovery point,
null should be passed.
{SetMultiVmSyncStatus} multiVmSyncStatus A value indicating
whether multi-VM sync has to be enabled. Value should be 'Enabled' or
'Disabled'. Possible values include: 'Enable', 'Disable'
Optional recoveryPointHistory
recoveryPointHistory:undefined | number
member
{number} [recoveryPointHistory] The duration in minutes until
which the recovery points need to be stored.
An interface representing A2AProtectedDiskDetails.
A2A protected disk details.
Optional dataPendingAtSourceAgentInMB
dataPendingAtSourceAgentInMB:undefined | number
member
{number} [dataPendingAtSourceAgentInMB] The data pending at source
virtual machine in MB.
Optional dataPendingInStagingStorageAccountInMB
dataPendingInStagingStorageAccountInMB:undefined | number
member
{number} [dataPendingInStagingStorageAccountInMB] The data pending
for replication in MB at staging account.
Optional dekKeyVaultArmId
dekKeyVaultArmId:undefined | string
member
{string} [dekKeyVaultArmId] The KeyVault resource id for secret
(BEK).
Optional diskCapacityInBytes
diskCapacityInBytes:undefined | number
member
{number} [diskCapacityInBytes] The disk capacity in bytes.
Optional diskName
diskName:undefined | string
member
{string} [diskName] The disk name.
Optional diskType
diskType:undefined | string
member
{string} [diskType] The type of disk.
Optional diskUri
diskUri:undefined | string
member
{string} [diskUri] The disk uri.
Optional isDiskEncrypted
isDiskEncrypted:undefined | false | true
member
{boolean} [isDiskEncrypted] A value indicating whether vm has
encrypted os disk or not.
Optional isDiskKeyEncrypted
isDiskKeyEncrypted:undefined | false | true
member
{boolean} [isDiskKeyEncrypted] A value indicating whether disk key
got encrypted or not.
Optional kekKeyVaultArmId
kekKeyVaultArmId:undefined | string
member
{string} [kekKeyVaultArmId] The KeyVault resource id for key
(KEK).
Optional keyIdentifier
keyIdentifier:undefined | string
member
{string} [keyIdentifier] The key URL / identifier (KEK).
Optional monitoringJobType
monitoringJobType:undefined | string
member
{string} [monitoringJobType] The type of the monitoring job. The
progress is contained in MonitoringPercentageCompletion property.
Optional monitoringPercentageCompletion
monitoringPercentageCompletion:undefined | number
member
{number} [monitoringPercentageCompletion] The percentage of the
monitoring job. The type of the monitoring job is defined by
MonitoringJobType property.
An interface representing A2AProtectedManagedDiskDetails.
A2A protected managed disk details.
Optional dataPendingAtSourceAgentInMB
dataPendingAtSourceAgentInMB:undefined | number
member
{number} [dataPendingAtSourceAgentInMB] The data pending at source
virtual machine in MB.
Optional dataPendingInStagingStorageAccountInMB
dataPendingInStagingStorageAccountInMB:undefined | number
member
{number} [dataPendingInStagingStorageAccountInMB] The data pending
for replication in MB at staging account.
Optional dekKeyVaultArmId
dekKeyVaultArmId:undefined | string
member
{string} [dekKeyVaultArmId] The KeyVault resource id for secret
(BEK).
Optional diskCapacityInBytes
diskCapacityInBytes:undefined | number
member
{number} [diskCapacityInBytes] The disk capacity in bytes.
Optional diskId
diskId:undefined | string
member
{string} [diskId] The managed disk Arm id.
Optional diskName
diskName:undefined | string
member
{string} [diskName] The disk name.
Optional diskType
diskType:undefined | string
member
{string} [diskType] The type of disk.
Optional isDiskEncrypted
isDiskEncrypted:undefined | false | true
member
{boolean} [isDiskEncrypted] A value indicating whether vm has
encrypted os disk or not.
Optional isDiskKeyEncrypted
isDiskKeyEncrypted:undefined | false | true
member
{boolean} [isDiskKeyEncrypted] A value indicating whether disk key
got encrypted or not.
Optional kekKeyVaultArmId
kekKeyVaultArmId:undefined | string
member
{string} [kekKeyVaultArmId] The KeyVault resource id for key
(KEK).
Optional keyIdentifier
keyIdentifier:undefined | string
member
{string} [keyIdentifier] The key URL / identifier (KEK).
Optional monitoringJobType
monitoringJobType:undefined | string
member
{string} [monitoringJobType] The type of the monitoring job. The
progress is contained in MonitoringPercentageCompletion property.
Optional monitoringPercentageCompletion
monitoringPercentageCompletion:undefined | number
member
{number} [monitoringPercentageCompletion] The percentage of the
monitoring job. The type of the monitoring job is defined by
MonitoringJobType property.
{string} [primaryStagingAzureStorageAccountId] The primary staging
storage account.
Optional recoveryReplicaDiskAccountType
recoveryReplicaDiskAccountType:undefined | string
member
{string} [recoveryReplicaDiskAccountType] The replica disk type.
Its an optional value and will be same as source disk type if not user
provided.
Optional recoveryReplicaDiskId
recoveryReplicaDiskId:undefined | string
member
{string} [recoveryReplicaDiskId] Recovery replica disk Arm Id.
Optional recoveryResourceGroupId
recoveryResourceGroupId:undefined | string
member
{string} [recoveryResourceGroupId] The recovery disk resource
group Arm Id.
Optional recoveryTargetDiskAccountType
recoveryTargetDiskAccountType:undefined | string
member
{string} [recoveryTargetDiskAccountType] The target disk type
after failover. Its an optional value and will be same as source disk type
if not user provided.
Optional recoveryTargetDiskId
recoveryTargetDiskId:undefined | string
member
{string} [recoveryTargetDiskId] Recovery target disk Arm Id.
Optional resyncRequired
resyncRequired:undefined | false | true
member
{boolean} [resyncRequired] A value indicating whether resync is
required for this disk.
Optional secretIdentifier
secretIdentifier:undefined | string
member
{string} [secretIdentifier] The secret URL / identifier (BEK).
{RecoveryPointSyncType} [recoveryPointSyncType] A value indicating
whether the recovery point is multi VM consistent. Possible values
include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint'
{boolean} [isReplicationAgentUpdateRequired] A value indicating
whether replication agent update is required.
Optional lastHeartbeat
lastHeartbeat:Date
member
{Date} [lastHeartbeat] The last heartbeat received from the source
server.
Optional lastRpoCalculatedTime
lastRpoCalculatedTime:Date
member
{Date} [lastRpoCalculatedTime] The time (in UTC) when the last RPO
value was calculated by Protection Service.
Optional lifecycleId
lifecycleId:undefined | string
member
{string} [lifecycleId] An id associated with the PE that survives
actions like switch protection which change the backing PE/CPE objects
internally.The lifecycle id gets carried forward to have a link/continuity
in being able to have an Id that denotes the "same" protected item even
though other internal Ids/ARM Id might be changing.
Optional managementId
managementId:undefined | string
member
{string} [managementId] The management Id.
Optional monitoringJobType
monitoringJobType:undefined | string
member
{string} [monitoringJobType] The type of the monitoring job. The
progress is contained in MonitoringPercentageCompletion property.
Optional monitoringPercentageCompletion
monitoringPercentageCompletion:undefined | number
member
{number} [monitoringPercentageCompletion] The percentage of the
monitoring job. The type of the monitoring job is defined by
MonitoringJobType property.
{MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether
Multi VM group is auto created or specified by user. Possible values
include: 'AutoCreated', 'UserSpecified'
Optional multiVmGroupId
multiVmGroupId:undefined | string
member
{string} [multiVmGroupId] The multi vm group Id.
Optional multiVmGroupName
multiVmGroupName:undefined | string
member
{string} [multiVmGroupName] The multi vm group name.
{string} [primaryStagingAzureStorageAccountId] The primary staging
storage account Arm Id.
Optional recoveryReplicaDiskAccountType
recoveryReplicaDiskAccountType:undefined | string
member
{string} [recoveryReplicaDiskAccountType] The replica disk type.
Its an optional value and will be same as source disk type if not user
provided.
Optional recoveryResourceGroupId
recoveryResourceGroupId:undefined | string
member
{string} [recoveryResourceGroupId] The target resource group Arm
Id.
Optional recoveryTargetDiskAccountType
recoveryTargetDiskAccountType:undefined | string
member
{string} [recoveryTargetDiskAccountType] The target disk type
after failover. Its an optional value and will be same as source disk type
if not user provided.
{GroupTaskDetailsUnion} [groupTaskCustomDetails] The custom task
details based on the task type, if the task type is GroupTaskDetails or
one of the types derived from it.
Optional name
name:undefined | string
member
{string} [name] The unique Task name.
Optional startTime
startTime:Date
member
{Date} [startTime] The start time.
Optional state
state:undefined | string
member
{string} [state] The State. It is one of these values -
NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.
Optional stateDescription
stateDescription:undefined | string
member
{string} [stateDescription] The description of the task state. For
example - For Succeeded state, description can be Completed,
PartiallySucceeded, CompletedWithInformation or Skipped.
Optional taskId
taskId:undefined | string
member
{string} [taskId] The Id.
Optional taskType
taskType:undefined | string
member
{string} [taskType] The type of task. Details in CustomDetails
property depend on this type.
serializedName
serializedName:string = "ASRTask"
type
type:object
className
className:string = "ASRTask"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
allowedActions
allowedActions:object
serializedName
serializedName:string = "allowedActions"
type
type:object
name
name:"Sequence" = "Sequence"
element
element:object
type
type:object
name
name:"String" = "String"
customDetails
customDetails:object
serializedName
serializedName:string = "customDetails"
type
type:object
className
className:string = "TaskTypeDetails"
name
name:"Composite" = "Composite"
endTime
endTime:object
serializedName
serializedName:string = "endTime"
type
type:object
name
name:"DateTime" = "DateTime"
errors
errors:object
serializedName
serializedName:string = "errors"
type
type:object
name
name:"Sequence" = "Sequence"
element
element:object
type
type:object
className
className:string = "JobErrorDetails"
name
name:"Composite" = "Composite"
friendlyName
friendlyName:object
serializedName
serializedName:string = "friendlyName"
type
type:object
name
name:"String" = "String"
groupTaskCustomDetails
groupTaskCustomDetails:object
serializedName
serializedName:string = "groupTaskCustomDetails"
type
type:object
className
className:string = "GroupTaskDetails"
name
name:"Composite" = "Composite"
name
name:object
serializedName
serializedName:string = "name"
type
type:object
name
name:"String" = "String"
startTime
startTime:object
serializedName
serializedName:string = "startTime"
type
type:object
name
name:"DateTime" = "DateTime"
state
state:object
serializedName
serializedName:string = "state"
type
type:object
name
name:"String" = "String"
stateDescription
stateDescription:object
serializedName
serializedName:string = "stateDescription"
type
type:object
name
name:"String" = "String"
taskId
taskId:object
serializedName
serializedName:string = "taskId"
type
type:object
name
name:"String" = "String"
taskType
taskType:object
serializedName
serializedName:string = "taskType"
type
type:object
name
name:"String" = "String"
Const AddVCenterRequest
AddVCenterRequest:object
interface
An interface representing AddVCenterRequest.
Input required to add vCenter.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Alert, currentIndex: number, array: Alert[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Alert, currentIndex: number, array: Alert[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing AsrJobDetails.
This class represents job details based on specific job type.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
An interface representing AzureToAzureCreateNetworkMappingInput.
Create network mappings input properties/behaviour specific to Azure to
Azure Network mapping.
instanceType
instanceType:"AzureToAzure"
member
{string} instanceType Polymorphic Discriminator
Optional primaryNetworkId
primaryNetworkId:undefined | string
member
{string} [primaryNetworkId] The primary azure vnet Id.
{DisableProtectionReason} [disableProtectionReason] Disable
protection reason. It can have values NotSpecified/MigrationComplete.
Possible values include: 'NotSpecified', 'MigrationComplete'
{KeyEncryptionKeyInfo} [keyEncryptionKeyInfo] The recovery
KeyVault reference for key.
serializedName
serializedName:string = "DiskEncryptionInfo"
type
type:object
className
className:string = "DiskEncryptionInfo"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
diskEncryptionKeyInfo
diskEncryptionKeyInfo:object
serializedName
serializedName:string = "diskEncryptionKeyInfo"
type
type:object
className
className:string = "DiskEncryptionKeyInfo"
name
name:"Composite" = "Composite"
keyEncryptionKeyInfo
keyEncryptionKeyInfo:object
serializedName
serializedName:string = "keyEncryptionKeyInfo"
type
type:object
className
className:string = "KeyEncryptionKeyInfo"
name
name:"Composite" = "Composite"
Const DiskEncryptionKeyInfo
DiskEncryptionKeyInfo:object
interface
An interface representing DiskEncryptionKeyInfo.
Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows).
Optional keyVaultResourceArmId
keyVaultResourceArmId:undefined | string
member
{string} [keyVaultResourceArmId] The KeyVault resource ARM id for
secret.
Optional secretIdentifier
secretIdentifier:undefined | string
member
{string} [secretIdentifier] The secret url / identifier.
serializedName
serializedName:string = "DiskEncryptionKeyInfo"
type
type:object
className
className:string = "DiskEncryptionKeyInfo"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
keyVaultResourceArmId
keyVaultResourceArmId:object
serializedName
serializedName:string = "keyVaultResourceArmId"
type
type:object
name
name:"String" = "String"
secretIdentifier
secretIdentifier:object
serializedName
serializedName:string = "secretIdentifier"
type
type:object
name
name:"String" = "String"
Const DiskVolumeDetails
DiskVolumeDetails:object
interface
An interface representing DiskVolumeDetails.
Volume details.
Optional label
label:undefined | string
member
{string} [label] The volume label.
Optional name
name:undefined | string
member
{string} [name] The volume name.
serializedName
serializedName:string = "DiskVolumeDetails"
type
type:object
className
className:string = "DiskVolumeDetails"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
label
label:object
serializedName
serializedName:string = "label"
type
type:object
name
name:"String" = "String"
name
name:object
serializedName
serializedName:string = "name"
type
type:object
name
name:"String" = "String"
Const Display
Display:object
interface
An interface representing Display.
Contains the localized display information for this particular operation /
action. These value will be used by several clients for (1) custom role
definitions for RBAC; (2) complex query filters for the event service; and
(3) audit history / records for management operations.
Optional description
description:undefined | string
member
{string} [description] The description. The localized friendly
description for the operation, as it should be shown to the user. It
should be thorough, yet concise – it will be used in tool tips and
detailed views. Prescriptive guidance for namespaces: Read any
'display.provider' resource Create or Update any 'display.provider'
resource Delete any 'display.provider' resource Perform any other action
on any 'display.provider' resource Prescriptive guidance for namespaces:
Read any 'display.resource' Create or Update any 'display.resource' Delete
any 'display.resource' 'ActionName' any 'display.resources'
Optional operation
operation:undefined | string
member
{string} [operation] The operation. The localized friendly name
for the operation, as it should be shown to the user. It should be concise
(to fit in drop downs) but clear (i.e. self-documenting). It should use
Title Casing. Prescriptive guidance: Read Create or Update Delete
'ActionName'
Optional provider
provider:undefined | string
member
{string} [provider] The provider. The localized friendly form of
the resource provider name – it is expected to also include the
publisher/company responsible. It should use Title Casing and begin with
"Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights"
or "Microsoft Compute."
Optional resource
resource:undefined | string
member
{string} [resource] The resource. The localized friendly form of
the resource related to this action/operation – it should match the public
documentation for the resource provider. It should use Title Casing. This
value should be unique for a particular URL type (e.g. nested types should
not reuse their parent’s display.resource field). e.g. "Virtual
Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes" or
"Scheduler Jobs"
serializedName
serializedName:string = "Display"
type
type:object
className
className:string = "Display"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
description
description:object
serializedName
serializedName:string = "description"
type
type:object
name
name:"String" = "String"
operation
operation:object
serializedName
serializedName:string = "operation"
type
type:object
name
name:"String" = "String"
provider
provider:object
serializedName
serializedName:string = "provider"
type
type:object
name
name:"String" = "String"
resource
resource:object
serializedName
serializedName:string = "resource"
type
type:object
name
name:"String" = "String"
Const EnableProtectionInput
EnableProtectionInput:object
interface
An interface representing EnableProtectionInput.
Enable protection input.
{EnableProtectionProviderSpecificInputUnion}
[providerSpecificDetails] The ReplicationProviderInput. For
HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object.
For San provider, it will be SanEnableProtectionInput object. For
HyperVReplicaAzure provider, it can be null.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Event, currentIndex: number, array: Event[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Event, currentIndex: number, array: Event[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing EventSpecificDetails.
Model class for event specific details for an event.
instanceType
instanceType:"EventSpecificDetails"
member
{string} instanceType Polymorphic Discriminator
serializedName
serializedName:string = "EventSpecificDetails"
type
type:object
className
className:string = "EventSpecificDetails"
name
name:"Composite" = "Composite"
uberParent
uberParent:string = "EventSpecificDetails"
modelProperties
modelProperties:object
instanceType
instanceType:object
required
required:true = true
serializedName
serializedName:string = "instanceType"
type
type:object
name
name:"String" = "String"
polymorphicDiscriminator
polymorphicDiscriminator:object
clientName
clientName:string = "instanceType"
serializedName
serializedName:string = "instanceType"
Const ExportJobDetails
ExportJobDetails:object
interface
An interface representing ExportJobDetails.
This class represents details for export jobs workflow.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Fabric, currentIndex: number, array: Fabric[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Fabric, currentIndex: number, array: Fabric[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing FailoverJobDetails.
This class represents the details for a failover job.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
{InnerHealthError[]} [innerHealthErrors] The inner health errors.
HealthError having a list of HealthError as child errors is problematic.
InnerHealthError is used because this will prevent an infinite loop of
structures when Hydra tries to auto-generate the contract. We are exposing
the related health errors as inner health errors and all API consumers can
utilize this in the same fashion as Exception -> InnerException.
Optional possibleCauses
possibleCauses:undefined | string
member
{string} [possibleCauses] Possible causes of error.
Optional recommendedAction
recommendedAction:undefined | string
member
{string} [recommendedAction] Recommended action to resolve error.
An interface representing HealthErrorSummary.
class to define the summary of the health error details.
Optional affectedResourceCorrelationIds
affectedResourceCorrelationIds:string[]
member
{string[]} [affectedResourceCorrelationIds] The list of affected
resource correlation Ids. This can be used to uniquely identify the count
of items affected by a specific category and severity as well as count of
item affected by an specific issue.
Optional affectedResourceSubtype
affectedResourceSubtype:undefined | string
member
{string} [affectedResourceSubtype] The sub type of any
subcomponent within the ARM resource that this might be applicable. Value
remains null if not applicable.
Optional affectedResourceType
affectedResourceType:undefined | string
member
{string} [affectedResourceType] The type of affected ARM resource.
{HealthErrorCategory} [category] The category of the health error.
Possible values include: 'None', 'Replication', 'TestFailover',
'Configuration', 'FabricInfrastructure', 'VersionExpiry',
'AgentAutoUpdate'
An interface representing HyperVReplicaAzureEnableProtectionInput.
Azure specific enable protection input.
Optional disksToInclude
disksToInclude:string[]
member
{string[]} [disksToInclude] The list of VHD IDs of disks to be
protected.
Optional enableRdpOnTargetOption
enableRdpOnTargetOption:undefined | string
member
{string} [enableRdpOnTargetOption] The selected option to enable
RDP\SSH on target vm after failover. String value of
{SrsDataContract.EnableRDPOnTargetOption} enum.
Optional hvHostVmId
hvHostVmId:undefined | string
member
{string} [hvHostVmId] The Hyper-V host Vm Id.
instanceType
instanceType:"HyperVReplicaAzure"
member
{string} instanceType Polymorphic Discriminator
Optional logStorageAccountId
logStorageAccountId:undefined | string
member
{string} [logStorageAccountId] The storage account to be used for
logging during replication.
Optional osType
osType:undefined | string
member
{string} [osType] The OS type associated with vm.
Optional targetAzureNetworkId
targetAzureNetworkId:undefined | string
member
{string} [targetAzureNetworkId] The selected target Azure network
Id.
Optional targetAzureSubnetId
targetAzureSubnetId:undefined | string
member
{string} [targetAzureSubnetId] The selected target Azure subnet
Id.
Optional targetAzureV1ResourceGroupId
targetAzureV1ResourceGroupId:undefined | string
member
{string} [targetAzureV1ResourceGroupId] The Id of the target
resource group (for classic deployment) in which the failover VM is to be
created.
Optional targetAzureV2ResourceGroupId
targetAzureV2ResourceGroupId:undefined | string
member
{string} [targetAzureV2ResourceGroupId] The Id of the target
resource group (for resource manager deployment) in which the failover VM
is to be created.
Optional targetAzureVmName
targetAzureVmName:undefined | string
member
{string} [targetAzureVmName] The target azure Vm Name.
Optional targetStorageAccountId
targetStorageAccountId:undefined | string
member
{string} [targetStorageAccountId] The storage account name.
Optional useManagedDisks
useManagedDisks:undefined | string
member
{string} [useManagedDisks] A value indicating whether managed
disks should be used during failover.
Optional vhdId
vhdId:undefined | string
member
{string} [vhdId] The OS disk VHD id associated with vm.
{string} [recoveryPointId] The recovery point id to be passed to
failover to a particular recovery point. In case of latest recovery point,
null should be passed.
applicationConsistentSnapshotFrequencyInHours:undefined | number
member
{number} [applicationConsistentSnapshotFrequencyInHours] The
interval (in hours) at which Hyper-V Replica should create an application
consistent snapshot within the VM.
Optional encryption
encryption:undefined | string
member
{string} [encryption] A value indicating whether encryption is
enabled for virtual machines in this cloud.
instanceType
instanceType:"HyperVReplicaAzure"
member
{string} instanceType Polymorphic Discriminator
Optional onlineReplicationStartTime
onlineReplicationStartTime:undefined | string
member
{string} [onlineReplicationStartTime] The scheduled start time for
the initial replication. If this parameter is Null, the initial
replication starts immediately.
Optional recoveryPointHistoryDurationInHours
recoveryPointHistoryDurationInHours:undefined | number
member
{number} [recoveryPointHistoryDurationInHours] The duration (in
hours) to which point the recovery history needs to be maintained.
Optional replicationInterval
replicationInterval:undefined | number
member
{number} [replicationInterval] The replication interval.
applicationConsistentSnapshotFrequencyInHours:undefined | number
member
{number} [applicationConsistentSnapshotFrequencyInHours] The
interval (in hours) at which Hyper-V Replica should create an application
consistent snapshot within the VM.
instanceType
instanceType:"HyperVReplicaAzure"
member
{string} instanceType Polymorphic Discriminator
Optional onlineReplicationStartTime
onlineReplicationStartTime:undefined | string
member
{string} [onlineReplicationStartTime] The scheduled start time for
the initial replication. If this parameter is Null, the initial
replication starts immediately.
Optional recoveryPointHistoryDuration
recoveryPointHistoryDuration:undefined | number
member
{number} [recoveryPointHistoryDuration] The duration (in hours) to
which point the recovery history needs to be maintained.
Optional replicationInterval
replicationInterval:undefined | number
member
{number} [replicationInterval] The replication interval.
Optional storageAccounts
storageAccounts:string[]
member
{string[]} [storageAccounts] The list of storage accounts to which
the VMs in the primary cloud can replicate to.
{AzureVmDiskDetails[]} [azureVmDiskDetails] Azure VM Disk details.
Optional enableRdpOnTargetOption
enableRdpOnTargetOption:undefined | string
member
{string} [enableRdpOnTargetOption] The selected option to enable
RDP\SSH on target vm after failover. String value of
{SrsDataContract.EnableRDPOnTargetOption} enum.
{string} [recoveryAzureLogStorageAccountId] The ARM id of the log
storage account used for replication. This will be set to null if no log
storage account was provided during enable protection.
Optional recoveryAzureResourceGroupId
recoveryAzureResourceGroupId:undefined | string
member
{string} [recoveryAzureResourceGroupId] The target resource group
Id.
Optional recoveryAzureStorageAccount
recoveryAzureStorageAccount:undefined | string
member
{string} [recoveryAzureStorageAccount] The recovery Azure storage
account.
Optional recoveryAzureVMSize
recoveryAzureVMSize:undefined | string
member
{string} [recoveryAzureVMSize] The Recovery Azure VM size.
Optional recoveryAzureVmName
recoveryAzureVmName:undefined | string
member
{string} [recoveryAzureVmName] Recovery Azure given name.
Optional rpoInSeconds
rpoInSeconds:undefined | number
member
{number} [rpoInSeconds] Last RPO value.
Optional selectedRecoveryAzureNetworkId
selectedRecoveryAzureNetworkId:undefined | string
member
{string} [selectedRecoveryAzureNetworkId] The selected recovery
azure network Id.
Optional selectedSourceNicId
selectedSourceNicId:undefined | string
member
{string} [selectedSourceNicId] The selected source nic Id which
will be used as the primary nic during failover.
Optional sourceVmCpuCount
sourceVmCpuCount:undefined | number
member
{number} [sourceVmCpuCount] The CPU count of the VM on the primary
side.
Optional sourceVmRamSizeInMB
sourceVmRamSizeInMB:undefined | number
member
{number} [sourceVmRamSizeInMB] The RAM size of the VM on the
primary side.
Optional useManagedDisks
useManagedDisks:undefined | string
member
{string} [useManagedDisks] A value indicating whether managed
disks should be used during failover.
{PresenceStatus} [hasFibreChannelAdapter] A value indicating
whether the VM has a fibre channel adapter attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
{PresenceStatus} [hasPhysicalDisk] A value indicating whether the
VM has a physical disk attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
{PresenceStatus} [hasSharedVhd] A value indicating whether the VM
has a shared VHD attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
An interface representing IdentityInformation.
Identity details.
Optional aadAuthority
aadAuthority:undefined | string
member
{string} [aadAuthority] The base authority for Azure Active
Directory authentication.
Optional applicationId
applicationId:undefined | string
member
{string} [applicationId] The application/client Id for the service
principal with which the on-premise management/data plane components would
communicate with our Azure services.
Optional audience
audience:undefined | string
member
{string} [audience] The intended Audience of the service principal
with which the on-premise management/data plane components would
communicate with our Azure services.
Optional certificateThumbprint
certificateThumbprint:undefined | string
member
{string} [certificateThumbprint] The certificate thumbprint.
Applicable only if IdentityProviderType is
RecoveryServicesActiveDirectory.
{IdentityProviderType} [identityProviderType] The identity
provider type. Value is the ToString() of a IdentityProviderType value.
Possible values include: 'RecoveryServicesActiveDirectory'
Optional objectId
objectId:undefined | string
member
{string} [objectId] The object Id of the service principal with
which the on-premise management/data plane components would communicate
with our Azure services.
Optional tenantId
tenantId:undefined | string
member
{string} [tenantId] The tenant Id for the service principal with
which the on-premise management/data plane components would communicate
with our Azure services.
serializedName
serializedName:string = "IdentityInformation"
type
type:object
className
className:string = "IdentityInformation"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
aadAuthority
aadAuthority:object
serializedName
serializedName:string = "aadAuthority"
type
type:object
name
name:"String" = "String"
applicationId
applicationId:object
serializedName
serializedName:string = "applicationId"
type
type:object
name
name:"String" = "String"
audience
audience:object
serializedName
serializedName:string = "audience"
type
type:object
name
name:"String" = "String"
certificateThumbprint
certificateThumbprint:object
serializedName
serializedName:string = "certificateThumbprint"
type
type:object
name
name:"String" = "String"
identityProviderType
identityProviderType:object
serializedName
serializedName:string = "identityProviderType"
type
type:object
name
name:"String" = "String"
objectId
objectId:object
serializedName
serializedName:string = "objectId"
type
type:object
name
name:"String" = "String"
tenantId
tenantId:object
serializedName
serializedName:string = "tenantId"
type
type:object
name
name:"String" = "String"
Const InMageAgentDetails
InMageAgentDetails:object
interface
An interface representing InMageAgentDetails.
The details of the InMage agent.
Optional agentExpiryDate
agentExpiryDate:Date
member
{Date} [agentExpiryDate] Agent expiry date.
Optional agentUpdateStatus
agentUpdateStatus:undefined | string
member
{string} [agentUpdateStatus] A value indicating whether installed
agent needs to be updated.
Optional agentVersion
agentVersion:undefined | string
member
{string} [agentVersion] The agent version.
Optional postUpdateRebootStatus
postUpdateRebootStatus:undefined | string
member
{string} [postUpdateRebootStatus] A value indicating whether
reboot is required after update is applied.
serializedName
serializedName:string = "InMageAgentDetails"
type
type:object
className
className:string = "InMageAgentDetails"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
agentExpiryDate
agentExpiryDate:object
serializedName
serializedName:string = "agentExpiryDate"
type
type:object
name
name:"DateTime" = "DateTime"
agentUpdateStatus
agentUpdateStatus:object
serializedName
serializedName:string = "agentUpdateStatus"
type
type:object
name
name:"String" = "String"
agentVersion
agentVersion:object
serializedName
serializedName:string = "agentVersion"
type
type:object
name
name:"String" = "String"
postUpdateRebootStatus
postUpdateRebootStatus:object
serializedName
serializedName:string = "postUpdateRebootStatus"
type
type:object
name
name:"String" = "String"
Const InMageAgentVersionDetails
InMageAgentVersionDetails:object
interface
An interface representing InMageAgentVersionDetails.
InMage agent version details.
Optional expiryDate
expiryDate:Date
member
{Date} [expiryDate] Version expiry date.
Optional postUpdateRebootStatus
postUpdateRebootStatus:undefined | string
member
{string} [postUpdateRebootStatus] A value indicating whether
reboot is required after update is applied.
An interface representing InMageAzureV2EnableProtectionInput.
VMware Azure specific enable protection input.
Optional disksToInclude
disksToInclude:string[]
member
{string[]} [disksToInclude] The disks to include list.
Optional enableRdpOnTargetOption
enableRdpOnTargetOption:undefined | string
member
{string} [enableRdpOnTargetOption] The selected option to enable
RDP\SSH on target vm after failover. String value of
{SrsDataContract.EnableRDPOnTargetOption} enum.
instanceType
instanceType:"InMageAzureV2"
member
{string} instanceType Polymorphic Discriminator
Optional logStorageAccountId
logStorageAccountId:undefined | string
member
{string} [logStorageAccountId] The storage account to be used for
logging during replication.
Optional masterTargetId
masterTargetId:undefined | string
member
{string} [masterTargetId] The Master target Id.
Optional multiVmGroupId
multiVmGroupId:undefined | string
member
{string} [multiVmGroupId] The multi vm group Id.
Optional multiVmGroupName
multiVmGroupName:undefined | string
member
{string} [multiVmGroupName] The multi vm group name.
Optional processServerId
processServerId:undefined | string
member
{string} [processServerId] The Process Server Id.
Optional runAsAccountId
runAsAccountId:undefined | string
member
{string} [runAsAccountId] The CS account Id.
storageAccountId
storageAccountId:string
member
{string} storageAccountId The storage account name.
Optional targetAzureNetworkId
targetAzureNetworkId:undefined | string
member
{string} [targetAzureNetworkId] The selected target Azure network
Id.
Optional targetAzureSubnetId
targetAzureSubnetId:undefined | string
member
{string} [targetAzureSubnetId] The selected target Azure subnet
Id.
Optional targetAzureV1ResourceGroupId
targetAzureV1ResourceGroupId:undefined | string
member
{string} [targetAzureV1ResourceGroupId] The Id of the target
resource group (for classic deployment) in which the failover VM is to be
created.
Optional targetAzureV2ResourceGroupId
targetAzureV2ResourceGroupId:undefined | string
member
{string} [targetAzureV2ResourceGroupId] The Id of the target
resource group (for resource manager deployment) in which the failover VM
is to be created.
Optional targetAzureVmName
targetAzureVmName:undefined | string
member
{string} [targetAzureVmName] The target azure Vm Name.
Optional useManagedDisks
useManagedDisks:undefined | string
member
{string} [useManagedDisks] A value indicating whether managed
disks should be used during failover.
An interface representing InMageAzureV2FailoverProviderInput.
InMageAzureV2 provider specific input for failover.
instanceType
instanceType:"InMageAzureV2"
member
{string} instanceType Polymorphic Discriminator
Optional recoveryPointId
recoveryPointId:undefined | string
member
{string} [recoveryPointId] The recovery point id to be passed to
failover to a particular recovery point. In case of latest recovery point,
null should be passed.
{SetMultiVmSyncStatus} multiVmSyncStatus A value indicating
whether multi-VM sync has to be enabled. Value should be 'Enabled' or
'Disabled'. Possible values include: 'Enable', 'Disable'
Optional recoveryPointHistory
recoveryPointHistory:undefined | number
member
{number} [recoveryPointHistory] The duration in minutes until
which the recovery points need to be stored.
Optional recoveryPointThresholdInMinutes
recoveryPointThresholdInMinutes:undefined | number
member
{number} [recoveryPointThresholdInMinutes] The recovery point
threshold in minutes.
{AzureVmDiskDetails[]} [azureVMDiskDetails] Azure VM Disk details.
Optional compressedDataRateInMB
compressedDataRateInMB:undefined | number
member
{number} [compressedDataRateInMB] The compressed data change rate
in MB.
Optional datastores
datastores:string[]
member
{string[]} [datastores] The datastores of the on-premise machine.
Value can be list of strings that contain datastore names.
Optional discoveryType
discoveryType:undefined | string
member
{string} [discoveryType] A value indicating the discovery type of
the machine. Value can be vCenter or physical.
Optional diskResized
diskResized:undefined | string
member
{string} [diskResized] A value indicating whether any disk is
resized for this VM.
Optional enableRdpOnTargetOption
enableRdpOnTargetOption:undefined | string
member
{string} [enableRdpOnTargetOption] The selected option to enable
RDP\SSH on target vm after failover. String value of
{SrsDataContract.EnableRDPOnTargetOption} enum.
Optional infrastructureVmId
infrastructureVmId:undefined | string
member
{string} [infrastructureVmId] The infrastructure VM Id.
instanceType
instanceType:"InMageAzureV2"
member
{string} instanceType Polymorphic Discriminator
Optional ipAddress
ipAddress:undefined | string
member
{string} [ipAddress] The source IP address.
Optional isAgentUpdateRequired
isAgentUpdateRequired:undefined | string
member
{string} [isAgentUpdateRequired] A value indicating whether
installed agent needs to be updated.
Optional isRebootAfterUpdateRequired
isRebootAfterUpdateRequired:undefined | string
member
{string} [isRebootAfterUpdateRequired] A value indicating whether
the source server requires a restart after update.
Optional lastHeartbeat
lastHeartbeat:Date
member
{Date} [lastHeartbeat] The last heartbeat received from the source
server.
Optional lastRpoCalculatedTime
lastRpoCalculatedTime:Date
member
{Date} [lastRpoCalculatedTime] The last RPO calculated time.
Optional lastUpdateReceivedTime
lastUpdateReceivedTime:Date
member
{Date} [lastUpdateReceivedTime] The last update time received from
on-prem components.
Optional licenseType
licenseType:undefined | string
member
{string} [licenseType] License Type of the VM to be used.
Optional masterTargetId
masterTargetId:undefined | string
member
{string} [masterTargetId] The master target Id.
Optional multiVmGroupId
multiVmGroupId:undefined | string
member
{string} [multiVmGroupId] The multi vm group Id.
Optional multiVmGroupName
multiVmGroupName:undefined | string
member
{string} [multiVmGroupName] The multi vm group name.
Optional multiVmSyncStatus
multiVmSyncStatus:undefined | string
member
{string} [multiVmSyncStatus] A value indicating whether multi vm
sync is enabled or disabled.
Optional osDiskId
osDiskId:undefined | string
member
{string} [osDiskId] The id of the disk containing the OS.
Optional osType
osType:undefined | string
member
{string} [osType] The type of the OS on the VM.
Optional osVersion
osVersion:undefined | string
member
{string} [osVersion] The OS Version of the protected item.
{string} [recoveryAzureLogStorageAccountId] The ARM id of the log
storage account used for replication. This will be set to null if no log
storage account was provided during enable protection.
Optional recoveryAzureResourceGroupId
recoveryAzureResourceGroupId:undefined | string
member
{string} [recoveryAzureResourceGroupId] The target resource group
Id.
Optional recoveryAzureStorageAccount
recoveryAzureStorageAccount:undefined | string
member
{string} [recoveryAzureStorageAccount] The recovery Azure storage
account.
Optional recoveryAzureVMName
recoveryAzureVMName:undefined | string
member
{string} [recoveryAzureVMName] Recovery Azure given name.
Optional recoveryAzureVMSize
recoveryAzureVMSize:undefined | string
member
{string} [recoveryAzureVMSize] The Recovery Azure VM size.
Optional replicaId
replicaId:undefined | string
member
{string} [replicaId] The replica id of the protected item.
Optional resyncProgressPercentage
resyncProgressPercentage:undefined | number
member
{number} [resyncProgressPercentage] The resync progress
percentage.
Optional rpoInSeconds
rpoInSeconds:undefined | number
member
{number} [rpoInSeconds] The RPO in seconds.
Optional selectedRecoveryAzureNetworkId
selectedRecoveryAzureNetworkId:undefined | string
member
{string} [selectedRecoveryAzureNetworkId] The selected recovery
azure network Id.
Optional selectedSourceNicId
selectedSourceNicId:undefined | string
member
{string} [selectedSourceNicId] The selected source nic Id which
will be used as the primary nic during failover.
Optional sourceVmCpuCount
sourceVmCpuCount:undefined | number
member
{number} [sourceVmCpuCount] The CPU count of the VM on the primary
side.
Optional sourceVmRamSizeInMB
sourceVmRamSizeInMB:undefined | number
member
{number} [sourceVmRamSizeInMB] The RAM size of the VM on the
primary side.
Optional targetVmId
targetVmId:undefined | string
member
{string} [targetVmId] The ARM Id of the target Azure VM. This
value will be null until the VM is failed over. Only after failure it will
be populated with the ARM Id of the Azure VM.
Optional uncompressedDataRateInMB
uncompressedDataRateInMB:undefined | number
member
{number} [uncompressedDataRateInMB] The uncompressed data change
rate in MB.
Optional useManagedDisks
useManagedDisks:undefined | string
member
{string} [useManagedDisks] A value indicating whether managed
disks should be used during failover.
Optional vCenterInfrastructureId
vCenterInfrastructureId:undefined | string
member
{string} [vCenterInfrastructureId] The vCenter infrastructure Id.
An interface representing InMageDiskSignatureExclusionOptions.
Guest disk signature based disk exclusion option when doing enable
protection of virtual machine in InMage provider.
Optional diskSignature
diskSignature:undefined | string
member
{string} [diskSignature] The guest signature of disk to be
excluded from replication.
An interface representing InMageFailoverProviderInput.
Provider specific input for InMage failover.
instanceType
instanceType:"InMage"
member
{string} instanceType Polymorphic Discriminator
Optional recoveryPointId
recoveryPointId:undefined | string
member
{string} [recoveryPointId] The recovery point id to be passed to
failover to a particular recovery point. In case of latest recovery point,
null should be passed.
{RecoveryPointType} [recoveryPointType] The recovery point type.
Values from LatestTime, LatestTag or Custom. In the case of custom, the
recovery point provided by RecoveryPointId will be used. In the other two
cases, recovery point id will be ignored. Possible values include:
'LatestTime', 'LatestTag', 'Custom'
{SetMultiVmSyncStatus} multiVmSyncStatus A value indicating
whether multi-VM sync has to be enabled. Value should be 'Enabled' or
'Disabled'. Possible values include: 'Enable', 'Disable'
Optional recoveryPointHistory
recoveryPointHistory:undefined | number
member
{number} [recoveryPointHistory] The duration in minutes until
which the recovery points need to be stored.
Optional recoveryPointThresholdInMinutes
recoveryPointThresholdInMinutes:undefined | number
member
{number} [recoveryPointThresholdInMinutes] The recovery point
threshold in minutes.
An interface representing InMageReplicationDetails.
InMage provider specific settings
Optional activeSiteType
activeSiteType:undefined | string
member
{string} [activeSiteType] The active location of the VM. If the VM
is being protected from Azure, this field will take values from { Azure,
OnPrem }. If the VM is being protected between two data-centers, this
field will be OnPrem always.
{InMageAgentDetails} [agentDetails] The agent details.
Optional azureStorageAccountId
azureStorageAccountId:undefined | string
member
{string} [azureStorageAccountId] A value indicating the underlying
Azure storage account. If the VM is not running in Azure, this value shall
be set to null.
Optional compressedDataRateInMB
compressedDataRateInMB:undefined | number
member
{number} [compressedDataRateInMB] The compressed data change rate
in MB.
Optional consistencyPoints
consistencyPoints:object | object
member
{{ [propertyName: string]: Date } | { [propertyName: string]:
string }} [consistencyPoints] The collection of Consistency points.
Optional datastores
datastores:string[]
member
{string[]} [datastores] The datastores of the on-premise machine
Value can be list of strings that contain datastore names
Optional discoveryType
discoveryType:undefined | string
member
{string} [discoveryType] A value indicating the discovery type of
the machine.
Optional diskResized
diskResized:undefined | string
member
{string} [diskResized] A value indicating whether any disk is
resized for this VM.
Optional infrastructureVmId
infrastructureVmId:undefined | string
member
{string} [infrastructureVmId] The infrastructure VM Id.
instanceType
instanceType:"InMage"
member
{string} instanceType Polymorphic Discriminator
Optional ipAddress
ipAddress:undefined | string
member
{string} [ipAddress] The source IP address.
Optional lastHeartbeat
lastHeartbeat:Date
member
{Date} [lastHeartbeat] The last heartbeat received from the source
server.
Optional lastRpoCalculatedTime
lastRpoCalculatedTime:Date
member
{Date} [lastRpoCalculatedTime] The last RPO calculated time.
Optional lastUpdateReceivedTime
lastUpdateReceivedTime:Date
member
{Date} [lastUpdateReceivedTime] The last update time received from
on-prem components.
Optional masterTargetId
masterTargetId:undefined | string
member
{string} [masterTargetId] The master target Id.
Optional multiVmGroupId
multiVmGroupId:undefined | string
member
{string} [multiVmGroupId] The multi vm group Id, if any.
Optional multiVmGroupName
multiVmGroupName:undefined | string
member
{string} [multiVmGroupName] The multi vm group name, if any.
Optional multiVmSyncStatus
multiVmSyncStatus:undefined | string
member
{string} [multiVmSyncStatus] A value indicating whether the multi
vm sync is enabled or disabled.
An interface representing InMageVolumeExclusionOptions.
Guest disk signature based disk exclusion option when doing enable
protection of virtual machine in InMage provider.
Optional onlyExcludeIfSingleVolume
onlyExcludeIfSingleVolume:undefined | string
member
{string} [onlyExcludeIfSingleVolume] The value indicating whether
to exclude multi volume disk or not. If a disk has multiple volumes and
one of the volume has label matching with VolumeLabel this disk will be
excluded from replication if OnlyExcludeIfSingleVolume is false.
Optional volumeLabel
volumeLabel:undefined | string
member
{string} [volumeLabel] The volume label. The disk having any
volume with this label will be excluded from replication.
An interface representing InnerHealthError.
Implements InnerHealthError class. HealthError object has a list of
InnerHealthErrors as child errors. InnerHealthError is used because this
will prevent an infinite loop of structures when Hydra tries to
auto-generate the contract. We are exposing the related health errors as
inner health errors and all API consumers can utilize this in the same
fashion as Exception -> InnerException.
Optional creationTimeUtc
creationTimeUtc:Date
member
{Date} [creationTimeUtc] Error creation time (UTC)
Optional entityId
entityId:undefined | string
member
{string} [entityId] ID of the entity.
Optional errorCategory
errorCategory:undefined | string
member
{string} [errorCategory] Category of error.
Optional errorCode
errorCode:undefined | string
member
{string} [errorCode] Error code.
Optional errorLevel
errorLevel:undefined | string
member
{string} [errorLevel] Level of error.
Optional errorMessage
errorMessage:undefined | string
member
{string} [errorMessage] Error message.
Optional errorSource
errorSource:undefined | string
member
{string} [errorSource] Source of error.
Optional errorType
errorType:undefined | string
member
{string} [errorType] Type of error.
Optional possibleCauses
possibleCauses:undefined | string
member
{string} [possibleCauses] Possible causes of error.
Optional recommendedAction
recommendedAction:undefined | string
member
{string} [recommendedAction] Recommended action to resolve error.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Job, currentIndex: number, array: Job[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Job, currentIndex: number, array: Job[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing JobDetails.
Job details based on specific job type.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
instanceType
instanceType:"JobDetails"
member
{string} instanceType Polymorphic Discriminator
serializedName
serializedName:string = "JobDetails"
type
type:object
className
className:string = "JobDetails"
name
name:"Composite" = "Composite"
uberParent
uberParent:string = "JobDetails"
modelProperties
modelProperties:object
affectedObjectDetails
affectedObjectDetails:object
serializedName
serializedName:string = "affectedObjectDetails"
type
type:object
name
name:"Dictionary" = "Dictionary"
value
value:object
type
type:object
name
name:"String" = "String"
instanceType
instanceType:object
required
required:true = true
serializedName
serializedName:string = "instanceType"
type
type:object
name
name:"String" = "String"
polymorphicDiscriminator
polymorphicDiscriminator:object
clientName
clientName:string = "instanceType"
serializedName
serializedName:string = "instanceType"
Const JobEntity
JobEntity:object
interface
An interface representing JobEntity.
This class contains the minimal job details required to navigate to the
desired drill down.
Optional jobFriendlyName
jobFriendlyName:undefined | string
member
{string} [jobFriendlyName] The job display name.
Optional jobId
jobId:undefined | string
member
{string} [jobId] The job id.
Optional jobScenarioName
jobScenarioName:undefined | string
member
{string} [jobScenarioName] The job name. Enum type ScenarioName.
Optional targetInstanceType
targetInstanceType:undefined | string
member
{string} [targetInstanceType] The workflow affected object type.
Optional targetObjectId
targetObjectId:undefined | string
member
{string} [targetObjectId] The object id.
Optional targetObjectName
targetObjectName:undefined | string
member
{string} [targetObjectName] The object name.
serializedName
serializedName:string = "JobEntity"
type
type:object
className
className:string = "JobEntity"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
jobFriendlyName
jobFriendlyName:object
serializedName
serializedName:string = "jobFriendlyName"
type
type:object
name
name:"String" = "String"
jobId
jobId:object
serializedName
serializedName:string = "jobId"
type
type:object
name
name:"String" = "String"
jobScenarioName
jobScenarioName:object
serializedName
serializedName:string = "jobScenarioName"
type
type:object
name
name:"String" = "String"
targetInstanceType
targetInstanceType:object
serializedName
serializedName:string = "targetInstanceType"
type
type:object
name
name:"String" = "String"
targetObjectId
targetObjectId:object
serializedName
serializedName:string = "targetObjectId"
type
type:object
name
name:"String" = "String"
targetObjectName
targetObjectName:object
serializedName
serializedName:string = "targetObjectName"
type
type:object
name
name:"String" = "String"
Const JobErrorDetails
JobErrorDetails:object
interface
An interface representing JobErrorDetails.
This class contains the error details per object.
Optional creationTime
creationTime:Date
member
{Date} [creationTime] The creation time of job error.
{string} [state] The status of the Job. It is one of these values
NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or
Other.
Optional stateDescription
stateDescription:undefined | string
member
{string} [stateDescription] The description of the state of the
Job. For e.g. - For Succeeded state, description can be Completed,
PartiallySucceeded, CompletedWithInformation or Skipped.
Optional targetInstanceType
targetInstanceType:undefined | string
member
{string} [targetInstanceType] The type of the affected object
which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType}
class.
Optional targetObjectId
targetObjectId:undefined | string
member
{string} [targetObjectId] The affected Object Id.
Optional targetObjectName
targetObjectName:undefined | string
member
{string} [targetObjectName] The name of the affected object.
An interface representing JobTaskDetails.
This class represents a task which is actually a workflow so that one can
navigate to its individual drill down.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Network, currentIndex: number, array: Network[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Network, currentIndex: number, array: Network[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing NetworkMapping.
Network Mapping model. Ideally it should have been possible to inherit this
class from prev version in InheritedModels as long as there is no difference
in structure or method signature. Since there were no base Models for
certain fields and methods viz NetworkMappingProperties and Load with
required return type, the class has been introduced in its entirety with
references to base models to facilitate exensions in subsequent versions.
extends
Resource
Optional id
id:undefined | string
member
{string} [id] Resource Id
NOTE: This property will not be serialized. It can only be populated by
the server.
Optional location
location:undefined | string
member
{string} [location] Resource Location
Optional name
name:undefined | string
member
{string} [name] Resource Name
NOTE: This property will not be serialized. It can only be populated by
the server.
{NetworkMappingProperties} [properties] The Network Mapping
Properties.
serializedName
serializedName:string = "NetworkMapping"
Optional type
type:object
member
{string} [type] Resource Type
NOTE: This property will not be serialized. It can only be populated by
the server.
className
className:string = "NetworkMapping"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
properties
properties:object
serializedName
serializedName:string = "properties"
type
type:object
className
className:string = "NetworkMappingProperties"
name
name:"Composite" = "Composite"
Const NetworkMappingCollection
NetworkMappingCollection:object
interface
An interface representing the NetworkMappingCollection.
List of network mappings. As with NetworkMapping, it should be possible to
reuse a prev version of this class. It doesn't seem likely this class could
be anything more than a slightly bespoke collection of NetworkMapping. Hence
it makes sense to override Load with Base.NetworkMapping instead of existing
CurrentVersion.NetworkMapping.
extends
Array
Array
Array:ArrayConstructor
length
length:number
Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
{string} [name] Name of the API. The name of the operation being
performed on this particular object. It should match the action name that
appears in RBAC / the event service. Examples of operations include: *
Microsoft.Compute/virtualMachine/capture/action *
Microsoft.Compute/virtualMachine/restart/action *
Microsoft.Compute/virtualMachine/write *
Microsoft.Compute/virtualMachine/read *
Microsoft.Compute/virtualMachine/delete Each action should include, in
order: (1) Resource Provider Namespace (2) Type hierarchy for which the
action applies (e.g. server/databases for a SQL Azure database) (3) Read,
Write, Action or Delete indicating which type applies. If it is a
PUT/PATCH on a collection or named value, Write should be used. If it is a
GET, Read should be used. If it is a DELETE, Delete should be used. If it
is a POST, Action should be used. As a note: all resource providers would
need to include the "{Resource Provider Namespace}/register/action"
operation in their response. This API is used to register for their
service, and should include details about the operation (e.g. a localized
name for the resource provider + any special considerations like PII
release)
Optional origin
origin:undefined | string
member
{string} [origin] Origin. The intended executor of the operation;
governs the display of the operation in the RBAC UX and the audit logs UX.
Default value is "user,system"
Optional properties
properties:any
member
{any} [properties] Properties. Reserved for future use.
serializedName
serializedName:string = "OperationsDiscovery"
type
type:object
className
className:string = "OperationsDiscovery"
name
name:"Composite" = "Composite"
modelProperties
modelProperties:object
display
display:object
serializedName
serializedName:string = "display"
type
type:object
className
className:string = "Display"
name
name:"Composite" = "Composite"
name
name:object
serializedName
serializedName:string = "name"
type
type:object
name
name:"String" = "String"
origin
origin:object
serializedName
serializedName:string = "origin"
type
type:object
name
name:"String" = "String"
properties
properties:object
serializedName
serializedName:string = "properties"
type
type:object
name
name:"Object" = "Object"
Const OperationsDiscoveryCollection
OperationsDiscoveryCollection:object
interface
An interface representing the OperationsDiscoveryCollection.
Collection of ClientDiscovery details.
extends
Array
Array
Array:ArrayConstructor
length
length:number
Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Policy, currentIndex: number, array: Policy[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: Policy, currentIndex: number, array: Policy[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
{MultiVmGroupCreateOption} [multiVmGroupCreateOption] Whether
Multi VM group is auto created or specified by user. Possible values
include: 'AutoCreated', 'UserSpecified'
Optional recoveryPlanName
recoveryPlanName:undefined | string
member
{string} [recoveryPlanName] The recovery plan filter.
Optional sourceFabricName
sourceFabricName:undefined | string
member
{string} [sourceFabricName] The source fabric name filter.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing ProtectionContainerFabricSpecificDetails.
Base class for fabric specific details of container.
Optional instanceType
instanceType:undefined | string
member
{string} [instanceType] Gets the class type. Overriden in derived
classes.
NOTE: This property will not be serialized. It can only be populated by
the server.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
{MultiVmSyncPointOption} [multiVmSyncPointOption] A value
indicating whether multi VM sync enabled VMs should use multi VM sync
points for failover. Possible values include:
'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint'
{A2ARpRecoveryPointType} recoveryPointType The recovery point
type. Possible values include: 'Latest', 'LatestApplicationConsistent',
'LatestCrashConsistent', 'LatestProcessed'
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
{HyperVReplicaAzureRpRecoveryPointType} [recoveryPointType] The
recovery point type. Possible values include: 'Latest',
'LatestApplicationConsistent', 'LatestProcessed'
Optional secondaryKekCertificatePfx
secondaryKekCertificatePfx:undefined | string
member
{string} [secondaryKekCertificatePfx] The secondary KEK
certificate PFX.
{InMageV2RpRecoveryPointType} recoveryPointType The recovery point
type. Possible values include: 'Latest', 'LatestApplicationConsistent',
'LatestCrashConsistent', 'LatestProcessed'
Optional useMultiVmSyncPoint
useMultiVmSyncPoint:undefined | string
member
{string} [useMultiVmSyncPoint] A value indicating whether multi VM
sync enabled VMs should use multi VM sync points for failover.
{SourceSiteOperations} sourceSiteOperations A value indicating
whether source site operations are required. Possible values include:
'Required', 'NotRequired'
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
{string} [recoveryProtectionContainerFriendlyName] The name of
recovery container friendly name.
Optional recoveryServicesProviderId
recoveryServicesProviderId:undefined | string
member
{string} [recoveryServicesProviderId] The recovery provider ARM
Id.
Optional replicationHealth
replicationHealth:undefined | string
member
{string} [replicationHealth] The consolidated protection health
for the VM taking any issues with SRS as well as all the replication units
associated with the VM's replication group into account. This is a string
representation of the ProtectionHealth enumeration.
Optional testFailoverState
testFailoverState:undefined | string
member
{string} [testFailoverState] The Test failover state.
Optional testFailoverStateDescription
testFailoverStateDescription:undefined | string
member
{string} [testFailoverStateDescription] The Test failover state
description.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing SwitchProtectionJobDetails.
This class represents details for switch protection job.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
instanceType
instanceType:"SwitchProtectionJobDetails"
member
{string} instanceType Polymorphic Discriminator
Optional newReplicationProtectedItemId
newReplicationProtectedItemId:undefined | string
member
{string} [newReplicationProtectedItemId] ARM Id of the new
replication protected item.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing TestFailoverJobDetails.
This class represents the details for a test failover job.
Optional affectedObjectDetails
affectedObjectDetails:undefined | object
member
{{ [propertyName: string]: string }} [affectedObjectDetails] The
affected object properties like source server, source cloud, target
server, target cloud etc. based on the workflow object details.
Optional comments
comments:undefined | string
member
{string} [comments] The test failover comments.
instanceType
instanceType:"TestFailoverJobDetails"
member
{string} instanceType Polymorphic Discriminator
Optional networkFriendlyName
networkFriendlyName:undefined | string
member
{string} [networkFriendlyName] The test network friendly name.
Optional networkName
networkName:undefined | string
member
{string} [networkName] The test network name.
Optional networkType
networkType:undefined | string
member
{string} [networkType] The test network type (see
TestFailoverInput enum for possible values).
{ReplicationProviderSpecificUpdateContainerMappingInputUnion}
[providerSpecificInput] Provider specific input for updating protection
container mapping.
An interface representing UpdateReplicationProtectedItemInputProperties.
Update protected item input properties.
Optional enableRdpOnTargetOption
enableRdpOnTargetOption:undefined | string
member
{string} [enableRdpOnTargetOption] The selected option to enable
RDP\SSH on target vm after failover. String value of
{SrsDataContract.EnableRDPOnTargetOption} enum.
Determines whether all the members of an array satisfy the specified test.
Parameters
callbackfn: function
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found, find
immediately returns that element value. Otherwise, find returns undefined.
findIndex(predicate: function, thisArg?: any): number
Returns the index of the first element in the array where predicate is true, and -1
otherwise.
Parameters
predicate: function
find calls predicate once for each element of the array, in ascending
order, until it finds one where predicate returns true. If such an element is found,
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
reduce<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: VCenter, currentIndex: number, array: VCenter[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
reduceRight<U>(callbackfn: function, initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type parameters
U
Parameters
callbackfn: function
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
(previousValue: U, currentValue: VCenter, currentIndex: number, array: VCenter[]): U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Determines whether the specified callback function returns true for any element of an array.
Parameters
callbackfn: function
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An interface representing VMwareVirtualMachineDetails.
VMware provider specific settings
Optional agentGeneratedId
agentGeneratedId:undefined | string
member
{string} [agentGeneratedId] The ID generated by the InMage agent
after it gets installed on guest. This is the ID to be used during InMage
CreateProtection.
Optional agentInstalled
agentInstalled:undefined | string
member
{string} [agentInstalled] The value indicating if InMage scout
agent is installed on guest.
Optional agentVersion
agentVersion:undefined | string
member
{string} [agentVersion] The agent version.
Optional discoveryType
discoveryType:undefined | string
member
{string} [discoveryType] A value inidicating the discovery type of
the machine. Value can be vCenter or physical.
An interface representing VmmToAzureCreateNetworkMappingInput.
Create network mappings input properties/behaviour specific to Vmm to Azure
Network mapping.
An interface representing VmmToVmmCreateNetworkMappingInput.
Create network mappings input properties/behaviour specific to vmm to vmm
Network mapping.
{PresenceStatus} [hasFibreChannelAdapter] A value indicating
whether the VM has a fibre channel adapter attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
{PresenceStatus} [hasPhysicalDisk] A value indicating whether the
VM has a physical disk attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
{PresenceStatus} [hasSharedVhd] A value indicating whether the VM
has a shared VHD attached. String value of
{SrsDataContract.PresenceStatus} enum. Possible values include: 'Unknown',
'Present', 'NotPresent'
Defines values for A2ARpRecoveryPointType. Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', 'LatestProcessed'
{string}